package cn.lg.soar.redis.config;

import cn.lg.soar.core.aspect.SoarCacheAspect;
import cn.lg.soar.redis.aspect.clusterlock.ClusterFairLockAspect;
import cn.lg.soar.redis.aspect.clusterlock.ClusterLockAspect;
import cn.lg.soar.redis.aspect.clusterlock.ClusterReadLockAspect;
import org.springframework.boot.autoconfigure.ImportAutoConfiguration;
import org.springframework.context.annotation.Configuration;

/**
 * @author luguoxiang 469599794@qq.com
 * @Date: 2024/2/23 16:30
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@ImportAutoConfiguration({
        RedisConfig.class,
        CacheConfig.class,
        ClusterReadLockAspect.class,
        ClusterLockAspect.class,
        ClusterFairLockAspect.class,
        SoarCacheAspect.class,
        CacheConfig.class,
})
public class AutoConfiguration {

    static {
        RedisExceptionHandleConfig.init();
    }

}
